<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <title>邀请好友升级版-获奖名单</title>
    <script type="text/javascript">
    (function(doc, win) {
        var docEl = doc.documentElement,
            isIOS = navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
            dpr = isIOS ? Math.min(win.devicePixelRatio, 3) : 1,
            dpr = window.top === window.self ? dpr : 1, //被iframe引用时，禁止缩放
            dpr = 1,
            scale = 1 / dpr,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
        docEl.dataset.dpr = dpr;
        var metaEl = doc.createElement('meta');
        metaEl.name = 'viewport';
        metaEl.content = 'initial-scale=' + scale + ',maximum-scale=' + scale + ', minimum-scale=' + scale;
        docEl.firstElementChild.appendChild(metaEl);
        var recalc = function() {
            var width = docEl.clientWidth;
            if (width / dpr > 750) {
                width = 750 * dpr;
            }
            docEl.style.fontSize = 100 * (width / 750) + 'px';
        };
        recalc()
        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
    })(document, window);
    </script>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone = no" />
    <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
    <link rel="stylesheet" type="text/css" href="./public/css/invite_friend_award16521.css" />
</head>

<body class="body-bg" onload="loaded()">
    <div id="wrapper" class="wrapper wrapper-bg">
        <div id="scroller" class="scroller">
            <div class="invite-top"></div>
            <a href="ggj://open/resource/share" title="马上邀请，立刻赚钱" class="invite-top-btn"></a>
            <a class="J_alert invite-activity-rule">活动规则</a>
            <div class="my-rewards">
                <h4 class="nav-line">我获得的奖励</h4>
                <div class="my-rewards-main">
                    <div class="my-rewards-count">
                        <h3 class="total">共获得<em id="totalPrize"></em>元</h3>
                        <a class="go-share" href="ggj://open/resource/share" title="争夺大奖，继续分享">争夺大奖，继续分享</a>
                    </div>
                    <div class="my-rewards-list">
                        <div class="rewards-list-head">
                            <span class="left-text">记录</span><span class="right-text">获得奖励</span>
                        </div>
                        <ul id="inviteList" class="rewards-list-ul"></ul>
                        <a id="inviteAllList" title="" class="rewards-list-all hide">查看全部</a>
                    </div>
                </div>
            </div>
            <div class="share-rank">
                <h4 class="nav-line">分享达人排行榜</h4>
                <div class="share-rank-main">
                    <div class="share-rank-trophy">
                        <p class="trophy-title">上周吃货人脉王</p>
                        <p id="champion" class="trophy-player"></p>
                    </div>
                    <div class="trophy-tab">
                        <a class="tab-link active">当日排行</a>
                        <a class="tab-link split">本周排行</a>
                        <a class="tab-link">获奖名单</a>
                    </div>
                    <div class="tabs">
                        <div id="tab1" class="tab active">
                            <div class="rewards-list-head rank-list-head">
                                <span class="left-text">排名</span><span class="right-text">邀请的人数</span>
                            </div>
                            <ul id="todayRankList" class="rank-list-ul"></ul>
                            <div id="todayMyRank" class="rewards-list-all my-rank"></div>
                        </div>
                        <div id="tab2" class="tab">
                            <div class="rewards-list-head rank-list-head">
                                <span class="left-text">当前排名</span><span class="right-text">邀请的人数</span>
                            </div>
                            <ul id="weekRankList" class="rank-list-ul"></ul>
                            <div id="weekMyRank" class="rewards-list-all my-rank"></div>
                        </div>
                        <div id="tab3" class="tab">
                            <div class="rewards-list-head rank-list-head">
                                <span class="left-text">排名</span><span class="right-text">获得奖励</span>
                            </div>
                            <ul id="winnerList" class="rank-list-ul"></ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="invite-b-btn">
                <a href="ggj://open/resource/share" title="马上邀请，立刻赚钱"><img src="./public/img/invite-b-btn.png" alt="" /></a>
            </div>
        </div>
    </div>
    <div class="invite-rewards-modal">
        <div class="modal-close"></div>
        <div class="modal-nav">活动规则</div>
        <ul id="modalUl" class="modal-ul">
            <li>
                <span class="order">1、</span><span class="text">邀请小伙伴下载格格家APP用手机号注册，符合条 件即可获得相应现金券奖励；</span>
            </li>
            <li>
                <span class="order">2、</span><span class="text">单日50元现金券在当日24:00结算，每周300元现金券奖励在自然天星期日24:00结算；</span>
            </li>
            <li>
                <span class="order">3、</span><span class="text">5元、15元、50元、300元现金券奖励将在达成奖励条件后自动派发至获奖用户账户；</span>
            </li>
            <li>
                <span class="order">4、</span><span class="text">若排行出现邀请人数并列的情况，率先达成最终邀请人数的用户获得奖励；</span>
            </li>
            <li>
                <span class="order">5、</span><span class="text">现金券使用期限以实际派发现金券中注明为准；</span>
            </li>
            <li>
                <span class="order">6、</span><span class="text">现金券将在您提交订单时自动匹配使用，您也可在格格家APP【我的】-【优惠券】中查看；</span>
            </li>
            <li>
                <span class="order">7、</span><span class="text">格格福利团商品不参与优惠活动；</span>
            </li>
            <li>
                <span class="order">8、</span><span class="text">新人注册成功同一用户只发放一次奖励，通过不正当手段获得奖励，格格家有权撤销奖励及其相关订单，格格家保留一切解释权。</span>
            </li>
        </ul>
    </div>
    <div id="modalOverlay" class="modal-overlay"></div>
    <div id="dialogAlert" class="dialog-alert"></div>
    <script type="text/javascript" src="//g.alicdn.com/sj/lib/zepto/zepto.min.js"></script>
    <script type="text/javascript" src="//cdn.bootcss.com/iScroll/5.2.0/iscroll.min.js"></script>
    <script type="text/javascript">
    var myScroll;

    function loaded() {
        myScroll = new IScroll('#wrapper', {
            preventDefault: false,
            bounceTime: 1500,
            mouseWheel: true,
            scrollbars: 'custom',
            deceleration: 0.001,
            onScrollMove: function() {
                if ((this.y < this.maxScrollY) && (this.pointY < 1)) {
                    this.scrollTo(0, this.maxScrollY, 400);
                    return;
                } else if (this.y > 0 && (this.pointY > window.innerHeight - 1)) {
                    this.scrollTo(0, 0, 400);
                    return;
                }
            }
        });
    }
    document.addEventListener('touchmove', function(e) {
        e.preventDefault();
    }, false);
    </script>
    <script type="text/javascript" src="./public/js/invite_friend_award16521.js"></script>
    <script type="text/javascript">
    var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cspan id='cnzz_stat_icon_1259235294'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1259235294' type='text/javascript'%3E%3C/script%3E"));
    </script>
</body>

</html>
